package com.alex.enumfunction;

public class TrafficLightTest {
    public static void main(String[] args) {
        // 测试红绿灯状态
        System.out.println(TrafficLightAlex008.RED.getDescription("1"));     // 输出：红灯
        System.out.println(TrafficLightAlex008.YELLOW.getDescription("2")); // 输出：黄灯
        System.out.println(TrafficLightAlex008.GREEN.getDescription("3"));  // 输出：绿灯
    }
}